<template>
  <div id="navbar">
    <ul>
      <li>
        <router-link active-class="tabbar-acitive-sy" to="/tool/home">
          <img src="@/assets/imgs/sy.svg" />
          <div>首页</div>
        </router-link>
      </li>
      <li>
        <router-link active-class="tabbar-acitive-dd" to="/tool/order">
          <img src="@/assets/imgs/dd.svg" />
          <div>订单</div>
        </router-link>
      </li>
      <li>
        <router-link active-class="tabbar-acitive-mine" to="/tool/mine">
          <img src="@/assets/imgs/mine.svg" />
          <div>我的</div>
        </router-link>
      </li>
    </ul>
  </div>
</template>

<style lang="scss" scoped>
#navbar {
  position: fixed;
  bottom: 0;
  max-width: 750px;
  width: 100%;
  height: rem(150);
  background: white;
  z-index: 999;
  ul {
    width: 100%;
    display: flex;
    justify-content: center;
    justify-content: space-around;
    li {
      
      
      img {
        height: rem(70);
        width: rem(70);
        margin-top: rem(20);
      }
      div {
        height: 10px;
        width: rem(70);
        font-size: rem(30);
        text-align: center;
      }
    }
  }
  
}
.tabbar-acitive-sy{
  color:red;
  img{
    content:url(../../assets/imgs/syred.svg);
  }
}
.tabbar-acitive-dd{
  color:red;
  img{
    content:url(../../assets/imgs/ddred.svg);
  }
}
.tabbar-acitive-mine{
  color:red;
  img{
    content:url(../../assets/imgs/minered.svg);
  }
}
</style>

